package com.huaxin.hxcloud.find.view;

import com.huaxin.common.Entity.FindInfo;

import java.util.List;

/**
 * @author: songxf
 * @description: 评论EventBus
 * @projectName: HxCloud
 * @date: 2017-07-01
 * @time: 22:55
 */

public class CommentEventBus {
    public int                            questionId;
    public boolean                        isLike;
    public int                            likeNum;
    public boolean                        isCollect;
    public int                            collentNum;
    public int                            commentCount;
    public List<FindInfo.LikeerArrayBean> likeerArray;

    public CommentEventBus(int questionId, boolean isLike, int likeNum, boolean isCollect, int collentNum, int commentCount, List<FindInfo.LikeerArrayBean> likeerArray) {
        this.questionId = questionId;
        this.isLike = isLike;
        this.likeNum = likeNum;
        this.isCollect = isCollect;
        this.collentNum = collentNum;
        this.commentCount = commentCount;
        this.likeerArray = likeerArray;
    }

    public int getQuestionId() {
        return questionId;
    }

    public void setQuestionId(int questionId) {
        this.questionId = questionId;
    }

    public boolean isLike() {
        return isLike;
    }

    public void setLike(boolean like) {
        isLike = like;
    }

    public int getLikeNum() {
        return likeNum;
    }

    public void setLikeNum(int likeNum) {
        this.likeNum = likeNum;
    }

    public boolean isCollect() {
        return isCollect;
    }

    public void setCollect(boolean collect) {
        isCollect = collect;
    }

    public int getCollentNum() {
        return collentNum;
    }

    public void setCollentNum(int collentNum) {
        this.collentNum = collentNum;
    }

    public int getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(int commentCount) {
        this.commentCount = commentCount;
    }

    public List<FindInfo.LikeerArrayBean> getLikeerArray() {
        return likeerArray;
    }

    public void setLikeerArray(List<FindInfo.LikeerArrayBean> likeerArray) {
        this.likeerArray = likeerArray;
    }

    @Override
    public String toString() {
        return "CommentEventBus{" +
                "questionId=" + questionId +
                ", isLike=" + isLike +
                ", likeNum=" + likeNum +
                ", isCollect=" + isCollect +
                ", collentNum=" + collentNum +
                ", commentCount=" + commentCount +
                ", likeerArray=" + likeerArray +
                '}';
    }
}
